#include <QCoreApplication>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    int *pA=new int;
    int *pB=new int;
    *pA=6;
    *pB=4;
    cout <<*pA+*pB;
    delete pA;
    delete pB;
    return a.exec();
}
